#ifndef Quadric_h
#define Quadric_h

#include "Object.h"

class Quadric : public Object
{
private:
	Point location;
	double A,B,C,D,E,F,G,H,I,J;
	
public:

	Quadric(const Point &, const double &, const double &, const double &, const double &, const double &, const double &, const double &, const double &, const double &, const double &);
	bool intersection(Ray&, Intersection&) const;
	Vector getNormal (const Point&) const;
};

#endif
